package day02;

public class VarDemo {
    public static void main(String[] args){
        int a;
        int b,c,d;
        a=-12;
        b=1;
        c=2;
        d=3;
        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
        System.out.println(d);
        int e = 3,f=4,g=5;
        int sum = e+f;
        System.out.println(sum);
        int balance = 500;
        balance = balance-100;
        System.out.println(balance);
        int a1=21;
        a1 -=12;//相当于a1=(int)(a1-12);
        System.out.println(a1);
        int m;
        //System.out.println(m);变量m未被初始化

        //int a*1;字母数字下划线或者$
        //int 年龄;不建议
        //int nianLing;
        int age;
        int age1$;
        int score,myScore,myClass;//小写驼峰命名
    }
}
